/*!
 * \file manager.h
 * \brief Header of classes CMeshManager, CTextureManager, CSoundManager and CGlobalManager
 * \author Benjamin Toueg
 * \version 13.08.09
 */

#ifndef MESHMANAGER_H
#define MESHMANAGER_H

#include "../meshloader.h"

#include "../vector3.h"

#include <string>
#include <map>

class CMeshManager
{
public:
    CMeshManager() {};
    ~CMeshManager() {};
    void changeDrawingType(const ogl::CDrawingType::eBehaviour& eType);
    GLuint createBoxDisplayList(const Vector3d& center);
    CMeshObj* getMeshPtr(const std::string& mesh_name);
    void loadAllMesh();

private:
    std::map<std::string,CMeshObj> m_mesh_map;
};

#endif //MESHMANAGER_H
